<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

//Site config
//需要使用类来进行重构

$config['site']['name'] = 'Smart Shop ERP';
<<<<<<< HEAD
$config['site']['url'] = 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . '/smart_erp_backup/';
$config['site']['root'] = 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . $_SERVER['SCRIPT_NAME'] . '/';
$config['site']['style_url'] = 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . '/smart_erp_backup/application/views/styles/';
$config['site']['script_url'] = 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . '/smart_erp_backup/application/views/scripts/';
$config['site']['images'] = 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . '/smart_erp_backup/application/views/images/';
=======
$config['site']['url'] = 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . '/smart_erp/';
$config['site']['root'] = 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . $_SERVER['SCRIPT_NAME'] . '/';
$config['site']['style_url'] = 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . '/smart_erp/application/views/styles/';
$config['site']['script_url'] = 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . '/smart_erp/application/views/scripts/';
$config['site']['images'] = 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . '/smart_erp/application/views/images/';
>>>>>>> ff5f7ef6de592146b376adc8ed0c004b06507151
$config['site']['version'] = '0.3';
$config['site']['lock'] = FALSE;

$config['menus'] = array(
	array(
		'index'	=>	1,
		'right'	=>	'stock',
		'url'	=>	$config['site']['root'] . 'stock/',
		'name'	=>	'库存管理',
		'id'	=>	'menu-stock'
		),
<<<<<<< HEAD
	array(
		'index'	=>	2,
		'right'	=>	'statistics',
		'url'	=>	$config['site']['root'] . 'statistics/',
		'name'	=>	'统计数据',
		'id'	=>	'menu-statistics'
		),
	/***
=======
	/***
	array(
		'index'	=>	2,
		'right_id'	=>	900,
		'url'	=>	$config['site']['root'] . 'purchase/',
		'name'	=>	'采购管理-失效',
		'id'	=>	'menu-purchase'
		),
>>>>>>> ff5f7ef6de592146b376adc8ed0c004b06507151
	array(
		'index'	=>	3,
		'right_id'	=>	900,
		'url'	=>	$config['site']['root'] . 'user/all/',
		'name'	=>	'费用管理-开发',
		'id'	=>	'menu-cost'
		),
***/
	array(
		'index'	=>	4,
		'right'	=>	'goods',
		'url'	=>	$config['site']['root'] . 'goods/',
		'name'	=>	'货品管理',
		'id'	=>	'menu-goods'
		),
	array(
		'index'	=>	5,
		'right'	=>	'supplier',
		'url'	=>	$config['site']['root'] . 'supplier/',
		'name'	=>	'供应商管理',
		'id'	=>	'menu-supplier'
		),
	array(
		'index' =>	6,
		'right'	=>	'advice',
		'url'	=>	$config['site']['root'] . 'advice/',
		'name'	=>	'各项结算',
		'id'	=>	'menu-advice'
		),
	array(
		'index'	=>	8,
		'right'	=>	'user',
		'url'	=>	$config['site']['root'] . 'user/all/',
		'name'	=>	'用户管理',
		'id'	=>	'menu-user'
		),
	array(
		'index'	=>	9,
		'right'	=>	'setting',
		'url'	=>	$config['site']['root'] . 'setting/',
		'name'	=>	'设置',
		'id'	=>	'menu-setting'
	)
);

$config['purapp_status'] = array(
	'1'	=>	'未审核',
	'2'	=>	'<span class="c-009F52">已进货</span>',
	'3'	=>	'<span class="c-red">不通过</span>'
	);

$config['order_status'] = array(
	'1'	=>	'未入库',
	'2'	=>	'已入库'
	);

//设置静态类型(特殊，可以添加，不要修改)
//出入库类型_静态
$config['TYPE']['INBOUND'] = array(
	'order' 	=> '进货',
	'return'	=> '退货'
	);
$config['TYPE']['OUTBOUND'] = array(
	'sale' 		=> '销售',
	'return'	=> '退货',
	//'return'	=> '退货'
	);